package com.vca.common.vo;


import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 *@Description:未接受预约的课程/讲座/展览/套课信息
 *@author:chenbing
 *@date 2022/12/1 18:47
 */
@Data
@ApiModel(value = "未接受预约的课程/讲座/展览/套课信息")
public class NoGetAppoinment {
    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "orderInfo的IDs")
    private List<Integer> orderInfoIds;

    @ApiModelProperty(value = "orderId订单号")
    @JsonIgnore
    private String orderNo;

    @ApiModelProperty(value = "课程/讲座/展览/套课预约的排期信息集合")
    private List<AppointmentScheduling> appointmentSchedulings;

    @ApiModelProperty(value = "订单类型 0 = 课程 1= 套课 2=讲座 3=展览")
    private Integer type;

    @Data
    @ApiModel(value = "课程/讲座/展览/套课预约的排期信息")
    public static class AppointmentScheduling{

        @ApiModelProperty(value = "名称")
        private String name;

        @ApiModelProperty(value = "开始日期")
        private String schedulingDate;

        @ApiModelProperty(value = "开始时间")
        private String schedulingStartTime;

        @ApiModelProperty(value = "结束时间")
        private String schedulingEndTime;
    }
}
